/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.msk.sys.service;


import com.msk.sys.domain.MaterialKind;
import com.msk.sys.mapper.MaterialKindDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 字典Service
 * @author ThinkGem
 * @version 2014-05-16
 */
@Service
@Transactional(readOnly = true)
public class MaterialKindService extends CrudService<MaterialKindDao, MaterialKind> {

    /**
     * 查询键值是否重复
     * @param
     * @return
     */
    public int checkValue(@Param("labelValue") String labelValue, @Param("id") String id){
        return dao.checkValue(labelValue, id);
    }

}
